package com.team5101.dto;

import com.team5101.entity.TOrderDetail;
import com.team5101.entity.TUser;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class OrderDto implements Serializable {
   private BigDecimal oPsum;
   private TUser tUser;
   private List<TOrderDetail> productInfo;
   private String oMark;
   private String productInfos;

   public BigDecimal getoPsum() {
      return oPsum;
   }

   public void setoPsum(BigDecimal oPsum) {
      this.oPsum = oPsum;
   }

   public TUser gettUser() {
      return tUser;
   }

   public void settUser(TUser tUser) {
      this.tUser = tUser;
   }

   public List<TOrderDetail> getProductInfo() {
      return productInfo;
   }

   public void setProductInfo(List<TOrderDetail> productInfo) {
      this.productInfo = productInfo;
   }

   public String getoMark() {
      return oMark;
   }

   public void setoMark(String oMark) {
      this.oMark = oMark;
   }

   public String getProductInfos() {
      return productInfos;
   }

   public void setProductInfos(String productInfos) {
      this.productInfos = productInfos;
   }

   @Override
   public String toString() {
      return "OrderDto{" +
              "oPsum=" + oPsum +
              ", tUser=" + tUser +
              ", productInfo=" + productInfo +
              ", oMark='" + oMark + '\'' +
              ", productInfos='" + productInfos + '\'' +
              '}';
   }
}
